// 登录模块
export namespace LoginApi {
  export interface ReqLoginForm {
    username: string
    password: string
    captcha?: string
  }
  export interface ResLogin {
    errCode: number
    errMsg: string
    newToken: {
      token: string
      tokenExpired: number
    }
    passwordConfirmed: boolean
    uid: string
  }
  export interface ResAuthButtons {
    [key: string]: string[]
  }
}
